/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dk.itu.samd.group2.tagapastry;

import java.io.IOException;

import rice.p2p.commonapi.rawserialization.OutputBuffer;

/**
 *
 * @author frgr
 */
public interface IndexEntry extends Comparable<IndexEntry> {

    public void incrementRank();
    public void decrementRank();
    public String getContent();
    public int getRank();
    public void serialize(OutputBuffer buf) throws IOException;
    public String getHash();
	public int getSize();
}
